- Posts: 53
COMMUNITY FORUM
{solve}Templating with K2 doesn't load my template
- Erwin Dicker
-
Topic Author
- Offline
- Senior Member
Less
More
13 years 6 months ago - 13 years 4 months ago #58416
by Erwin Dicker
{solve}Templating with K2 doesn't load my template was created by Erwin Dicker
getk2.org/documentation/tutorials/item/174-templating-with-k2-and-the-concepts-of-sub-templates
hi
i have made a new template and i put it in this:
templates/letwebpage/html/com_k2/templates/default/
category_item.php
item.php
i only change 2 files so i only put those in it.
in the template xml i put folder html in there
but joomla 1.7 doesn't load my k2 template it use the orginale one..
did i forget something?
gr.
hi
i have made a new template and i put it in this:
templates/letwebpage/html/com_k2/templates/default/
category_item.php
item.php
i only change 2 files so i only put those in it.
in the template xml i put folder html in there
but joomla 1.7 doesn't load my k2 template it use the orginale one..
did i forget something?
gr.
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
13 years 6 months ago #58417
by william white
Replied by william white on topic Re: Templating with K2, doesn't load my template..
Usually you make a copy of the default template, rename it, and pick the new one from the dropdown list in the category params..
you would end up with
templates/letwebpage/html/com_k2/templates/default
and
templates/letwebpage/html/com_k2/templates/mynewtemplate (make the edits here and you can select it)
That said, what you did should be working, try going to item.php and typing test at the top of the file...it should display and confirm that its working
you would end up with
templates/letwebpage/html/com_k2/templates/default
and
templates/letwebpage/html/com_k2/templates/mynewtemplate (make the edits here and you can select it)
That said, what you did should be working, try going to item.php and typing test at the top of the file...it should display and confirm that its working
Please Log in or Create an account to join the conversation.
- Erwin Dicker
-
Topic Author
- Offline
- Senior Member
Less
More
- Posts: 53
13 years 6 months ago #58418
by Erwin Dicker
Replied by Erwin Dicker on topic Re: Templating with K2, doesn't load my template..
i see it did works..
but i change css file
and i put it in here
/templates/letwebpage/html/com_k2/css/
but that didn't do the job..
should i make a new css file and add !importent after everything i change?
or is there a better way?
gr.
but i change css file
and i put it in here
/templates/letwebpage/html/com_k2/css/
but that didn't do the job..
should i make a new css file and add !importent after everything i change?
or is there a better way?
gr.
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
13 years 6 months ago #58419
by william white
Replied by william white on topic Re: Templating with K2, doesn't load my template..
try
This
for css in overrides
for css in overrides
Please Log in or Create an account to join the conversation.
- Erwin Dicker
-
Topic Author
- Offline
- Senior Member
Less
More
- Posts: 53
13 years 6 months ago #58420
by Erwin Dicker
Replied by Erwin Dicker on topic Re: Templating with K2, doesn't load my template..
hi
thx..
but still it would better is k2 has something for it..
gr.
thx..
but still it would better is k2 has something for it..
gr.
Please Log in or Create an account to join the conversation.